package com.yh.patterns.state.job;

/**
 * @Author:云尚
 * @Description:测试类
 */
public class Client {
    public static void main(String[] args) {
        Player player=new Player("tom");
        player.play_win();
        player.play_win();
        player.play_win();
        player.play_win();
        player.doubleScore();
        player.changeCards();
        player.play_win();
        player.peekCards();
        player.play_lose();
        player.play_lose();
        player.play_lose();
    }
}
